﻿//  Copyright (c) 2011 Ray Liang (http://www.dotnetage.com)
//  Dual licensed under the MIT and GPL licenses:
//  http://www.opensource.org/licenses/mit-license.php
//  http://www.gnu.org/licenses/gpl.html

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
using DNA.OpenAPI.Rss;
using DNA.OpenAPI.Atom;

namespace DNA.OpenAPI.OpenSearch
{
     [XmlRoot("channel"), Serializable]
    public class OpenSearchRssResult : RssChannel, IOpenSearchResult
    {
        [XmlElement("Query", Namespace = "http://a9.com/-/spec/opensearch/1.1/")]
        public OpenSearchQuery Query { get; set; }

        [XmlElement("link", Namespace = "http://www.w3.org/2005/Atom")]
        public AtomLink SearchLink { get; set; }
    }
}
